//
//  FLNEssenceTableViewController.m
//  百思不得姐
//
//  Created by xmg on 16/5/28.
//  Copyright © 2016年 FLN.com. All rights reserved.
//

#import "FLNEssenceViewController.h"
#import "UIColor+Hex.h"
//#import "UIBarButtonItem+Item.h"
@interface FLNEssenceViewController ()

@end

@implementation FLNEssenceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
   
    self.view.backgroundColor = FLNRandomColor;

    //设置导航条内容
    [self setUpNavBar];
}

- (void)setUpNavBar {
    //left
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonItemWithImage:[UIImage imageNamed:@"nav_item_game_icon"] highImage:[UIImage imageNamed:@"nav_item_game_click_icon"] target:self action:@selector(game)];
    
    
    
    //right
    
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem barButtonItemWithImage:[UIImage imageNamed:@"navigationButtonRandom"] highImage:[UIImage imageNamed:@"navigationButtonRandomClick"] target:self action:nil];
    
    //titleView
    self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
    
}

- (void)game {

    NSLog(@"打飞机");

}


@end
